-
Notifications
You must be signed in to change notification settings - Fork 636
Add bounce off walls toggle #6110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add bounce off walls toggle #6110
Conversation
|
@aMannus should this be forced on for CC? |
|
I don't think it should be on by default when CC is on. Could become a timed effect in the future but that needs an update on CC's side too. |
| []() { | ||
| COND_HOOK(OnPlayerUpdate, CVAR_BOUNCE_OFF_WALLS_VALUE, []() { | ||
| Player* player = GET_PLAYER(gPlayState); | ||
| if (player->actor.bgCheckFlags & 0x08 && ABS(player->linearVelocity) > 15.0f) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if (player->actor.bgCheckFlags & 0x08 && ABS(player->linearVelocity) > 15.0f) { | |
| if ((player->actor.bgCheckFlags & 0x08) && ABS(player->linearVelocity) > 15.0f) { |
(not semantically necessary)
|
what's the easiest way to observe this feature in vanilla gameplay? didn't trigger it doing hoverboost into wall, or being pushed into wall by moblin |
Stand near a wall with your back to it, then in the dev console you can type |
|
doesn't seem to work for me, tried against lon lon tower, on/off Link just goes flying against wall |
|
wasn't working for me due to some issue with boot to warp |
requested feature from holiday build
Build Artifacts